package optimizers.ganeat.math;

import util.MyUtil;

public class ConstantsMath {
	public static String preExpression = "static import java.lang.Math.*;\r\n";

	public static boolean logScale = false;
	public static int nInput = 1;
	//gaussian
	//public static String expression = "result = 50*Math.exp((-Math.pow(Math.log(input0)-Math.log(100)/2, 2)-Math.pow(Math.log(input1)-Math.log(100)/2, 2))/1);";
	//public static String expression = "fit gaussian 50 2 0.5";
	
	//square
	//public static String expression = "result = input0*input0/50;";
	public static String expression = "fit square 0.02";
	
	//plateu
	//public static String expression = "result = (input0 > 33 && input0 <= 66)?50.0:0.0";
	//public static String expression = "fit plateau 50 3 3";
	public static double minTest = 1;
	public static double maxTest = 50;
	public static int nTests = 8;

	public static double minDisplay = 1;
	public static double maxDisplay = 50;
	public static int nDisplays = 8;

	// public static double[] inputConcentrations = { 5, 10, 15, 20, 25, 30, 35,
	// 40, 45, 50 };
	// public static double[] additionalinputConcentrations = { 55, 60, 65, 70,
	// 75, 80, 85,
	// 90, 95, 100 };
	public static double changeThresholdStable = 5E-3;
	public static double timeToCheckStability = 10;
	public static boolean y_scaling = false;
	public static double max_scale = 2;
	public static double reporterConcentration = 200;
	public static double stoppingError = 0.05;
}
